package com.woniu.model.healthSystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author gb
 * @since 2023-10-19
 */
@Getter
@Setter
  @TableName("h_user")
@ApiModel(value = "User对象", description = "用户表")
public class User implements Serializable {

  private static final long serialVersionUID = 1L;

  @ApiModelProperty("用户表")
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;

  @ApiModelProperty("电话")
  private String telphone;

  @ApiModelProperty("昵称")
  private String userNickname;

  @ApiModelProperty("会员等级(1,黑铁2,白银3,黄金4,铂金5,钻石)")
  private Integer membershipLeve;

  @ApiModelProperty("账户余额")
  private Double accountBalance;

  @ApiModelProperty("注册时间")
  private Date registrationDate;

  @ApiModelProperty("性别")
  private String sex;

  @ApiModelProperty("生日")
  private Date birthday;

  @ApiModelProperty("头像")
  private String images;

  @ApiModelProperty("行业")
  private String industry;

  @ApiModelProperty("体重")
  private Double weight;

  @ApiModelProperty("密码")
  private String password;

  @ApiModelProperty("是否拉黑，1=不拉黑，2=拉黑")
  private Integer status;

}

